package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 技师求救表
 * </p>
 *
 * @author YanYang
 * @since 2025-04-19 13:44:40
 */
@Getter
@Setter
@TableName("t_technician_sos")
@ApiModel(value = "TechnicianSos对象", description = "技师求救表")
public class TechnicianSos implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("技师求救ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("技师ID")
    @TableField("tid")
    private Long tid;

    @ApiModelProperty("技师姓名")
    @TableField("technician_name")
    private String technicianName;

    @ApiModelProperty("技师电话")
    @TableField("technician_tel")
    private String technicianTel;

    @ApiModelProperty("技师求助地址")
    @TableField("technician_sos_address")
    private String technicianSosAddress;

    @ApiModelProperty("求救录音地址")
    @TableField("technician_voice_url")
    private String technicianVoiceUrl;

    @ApiModelProperty("求救状态（0=未读 1=已读）")
    @TableField("sos_status")
    private Integer sosStatus;

    @ApiModelProperty("逻辑删除（0=未删除，1=已删除）")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
